-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate unit tests to GitHub #175
base: main
Are you sure you want to change the base?
Conversation
dbf4d05
to
3136109
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e9a45da
to
fc109a8
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
0fb721f
to
8650471
Compare
This comment has been minimized.
This comment has been minimized.
8650471
to
e7421a6
Compare
cb7d5ce
to
1e03b4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very impressive to get the whole testing done in 8 minutes!
I'm just wondering if we could factor the docs out into a separate workflow (in the future)
a1a7ebf
to
5084dee
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…apses. Install latest libsonata branch
50eff37
to
9998205
Compare
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
@@ -14,8 +14,6 @@ def test_input_resistance(): | |||
# create Node from config | |||
GlobalConfig.verbosity = LogLevel.VERBOSE | |||
n = Node(str(CONFIG_FILE)) | |||
# use edges file w/o plasticity | |||
SimConfig.extra_circuits["All"]["nrnPath"] = EDGES_FILE + ":default" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to restrict the population anymore?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Logfiles from GitLab pipeline #235315 (:no_entry:) have been uploaded here! Status and direct links: |
pip install flake8 flake8-pyproject | ||
|
||
- name: Run flake8 | ||
run: flake8 . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you run flake independently on the sources only with no installation? As in separate job with separate status?
Also, ruff
may be a better all-in-one linter.
Context
This PR migrates the unit test pipeline from GitLab to GitHub actions. Based on the existing
simulation_test.yml
, it adds the model building forneocortex
andneocortex-mutiscale
models, and launch the unit tests viapytest
. For testing data, sub circuits ofv5_sonata
,v5_sonata + gap junctions
,sscx-v7-plasticity
are extracted bybrainbuilder
from the original circuits ingpfs
and are stored locally.Scope
Doc builds are tested on ReadTheDocs side for all PRs.
Testing
Currently the follow tests are skipped:
Review